projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7347d
)
GtkStyle: Allow GTK_ARROW_NONE.
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 23 Aug 2010 16:00:31 +0000
(18:00 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:10 +0000
(15:38 +0100)
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index 82d05dd2ce38a750d3a041e1fd527e6852925dc8..c4056702da7181559589e796b07fe5888dc9f4d4 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-2220,6
+2220,9
@@
gtk_default_draw_arrow (GtkStyle *style,
GtkStateFlags flags = 0;
gdouble angle, size;
+ if (arrow_type == GTK_ARROW_NONE)
+ return;
+
if (widget)
context = gtk_widget_get_style_context (widget);
else